a1=[1,2,3,4]
a2=[4,3,2,1]
dot(a1,a2)